package cn.edu.qfnu.common.utils;

public final class NumberUtils {

    public static boolean canParseInteger(String string) {
        if (string != null && !string.isEmpty()) {
            try {
                Integer integer = Integer.parseInt(string);
                return true;
            } catch (NumberFormatException ne) {
                return false;
            }
        } else {
            return false;
        }
    }

}
